package com.szgr.baoyin.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by yang on 15/12/14.
 */
public class DYCard implements Serializable {

    private String available;
    private String card_cost;
    private String id;
    private String card_id;
    private String card_sn;
    private String member_id;
    private String enterprise_id;
    private String invoice_id;
    private String card_amount;
    private String card_balance;
    private String card_add_time;
    private String card_end_time;
    private String trade_sn;
    private String payment_code;
    private String payment_name;
    private String payment_state;
    private String payment_time;

    private CardType card;
    private List<CardType.CardConfig> card_configs;
    private List<CardType.CardConfig> card_config;

    public void setId(String id) {
        this.id = id;
    }

    public void setCard_id(String card_id) {
        this.card_id = card_id;
    }

    public void setCard_sn(String card_sn) {
        this.card_sn = card_sn;
    }

    public void setMember_id(String member_id) {
        this.member_id = member_id;
    }

    public void setEnterprise_id(String enterprise_id) {
        this.enterprise_id = enterprise_id;
    }

    public void setInvoice_id(String invoice_id) {
        this.invoice_id = invoice_id;
    }

    public void setCard_amount(String card_amount) {
        this.card_amount = card_amount;
    }

    public void setCard_balance(String card_balance) {
        this.card_balance = card_balance;
    }

    public void setCard_add_time(String card_add_time) {
        this.card_add_time = card_add_time;
    }

    public void setCard_end_time(String card_end_time) {
        this.card_end_time = card_end_time;
    }

    public void setTrade_sn(String trade_sn) {
        this.trade_sn = trade_sn;
    }

    public void setPayment_code(String payment_code) {
        this.payment_code = payment_code;
    }

    public void setPayment_name(String payment_name) {
        this.payment_name = payment_name;
    }

    public void setPayment_state(String payment_state) {
        this.payment_state = payment_state;
    }

    public void setPayment_time(String payment_time) {
        this.payment_time = payment_time;
    }

    public String getId() {
        return id;
    }

    public String getCard_id() {
        return card_id;
    }

    public String getCard_sn() {
        return card_sn;
    }

    public String getMember_id() {
        return member_id;
    }

    public String getEnterprise_id() {
        return enterprise_id;
    }

    public String getInvoice_id() {
        return invoice_id;
    }

    public String getCard_amount() {
        return card_amount;
    }

    public String getCard_balance() {
        return card_balance;
    }

    public String getCard_add_time() {
        return card_add_time;
    }

    public String getCard_end_time() {
        return card_end_time;
    }

    public String getTrade_sn() {
        return trade_sn;
    }

    public String getPayment_code() {
        return payment_code;
    }

    public String getPayment_name() {
        return payment_name;
    }

    public String getPayment_state() {
        return payment_state;
    }

    public String getPayment_time() {
        return payment_time;
    }

    public CardType getCard() {
        return card;
    }

    public void setCard(CardType card) {
        this.card = card;
    }

    public List<CardType.CardConfig> getCard_config() {
        return card_config;
    }

    public void setCard_config(List<CardType.CardConfig> card_config) {
        this.card_config = card_config;
    }

    /**
     * id : 21
     * card_id : 9
     * card_sn : 6602401000000021
     * member_id : 864
     * enterprise_id : 469
     * invoice_id : 0
     * card_amount : 800000.00
     * card_balance : 800000.00
     * card_add_time : 1449653431
     * card_end_time : 1512899735
     * trade_sn : 2015121100001000280070409815
     * payment_code : alipay
     * payment_name : 支付宝
     * payment_state : 1
     * payment_time : 0
     * "available": 1,
     "card_cost": "14.55"
     */
    public String getAvailable() {
        return available;
    }

    public void setAvailable(String available) {
        this.available = available;
    }

    public String getCard_cost() {
        return card_cost;
    }

    public void setCard_cost(String card_cost) {
        this.card_cost = card_cost;
    }

    public List<CardType.CardConfig> getCard_configs() {
        return card_configs;
    }

    public void setCard_configs(List<CardType.CardConfig> card_configs) {
        this.card_configs = card_configs;
    }
}
